<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>Document</title>
    <link rel="stylesheet" href="style.css" />
  </head>
  <body>
    <div class="area-set">
      用户数量：<input
        type="number"
        name="user-count"
        id="user-count"
        class="user-count"
        value="100"
      />
      <input
        type="button"
        class="button"
        value="生成"
        onclick="handleClickGen()"
      />
      数据列表高度固定<input
        type="checkbox"
        name="is-fix"
        id="is-fix"
        style="margin-left: 10px;"
        onchange="handleClickIsFix()"
      />
    </div>
    <table class="ice-table ice-table-2">
      <thead>
        <tr>
          <th>ID</th>
          <th>姓名</th>
          <th>宝石数量</th>
        </tr>
      </thead>
      <tfoot>
        <tr>
          <td></td>
          <td>总数：</td>
          <td class="total" id="total" style="color: red; font-weight: bold;">
            0
          </td>
        </tr>
      </tfoot>
      <tbody class="data-list" id="data-list"></tbody>
    </table>
    <script src="index.js"></script>
  </body>
</html>
